package com.itqhy.service;

import com.itqhy.exception.UserException;
import com.itqhy.pojo.User;

public interface UserService {
    //用户注册
    public void register(User user) throws UserException;
    //用户登录
    public User loginByUsernameAndPasswoerd(String username,String password) throws UserException;
    //修改用户信息
    public void updateUserById(User user) throws UserException;
}
